const mdx = require("@next/mdx");

const withMDX = mdx();

const nextConfig = {
  sassOptions: {
    includePaths: ["styles"], // 假设你的全局变量文件位于styles目录
    prependData: `@import "./styles/global.scss";`, // 或者"./styles/globals.scss"
  },
};

module.exports = withMDX(nextConfig);
